package nxu.it.model;

public class Registerrequest {
    private String username;
    private String password;
    private String sex;
    private String age;
    private String hometown;
    private String mail;
    private String hobby;

    public Registerrequest(String username, String password, String sex, String age, String hometown, String mail, String hobby) {
        this.username = username;
        this.password = password;
        this.sex = sex;
        this.age = age;
        this.hometown = hometown;
        this.mail = mail;
        this.hobby = hobby;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getHometown() {
        return hometown;
    }

    public void setHometown(String hometown) {
        this.hometown = hometown;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    @Override
    public String toString() {
        return "Registerrequest{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", age='" + age + '\'' +
                ", hometown='" + hometown + '\'' +
                ", mail='" + mail + '\'' +
                ", hobby='" + hobby + '\'' +
                '}';
    }
}
